package com.ygqh.baby.service;

import java.util.List;

import com.ygqh.baby.ao.QueryInfo;
import com.ygqh.baby.ao.ResultSet;
import com.ygqh.baby.po.LogisticsTraces;

public interface LogisticsTracesService {

	List<LogisticsTraces> find();

	int findCount();

	LogisticsTraces findById(Long id);

	int deleteSoft(Long[] ids);

	int deleteSoft(Long id);

	int save(LogisticsTraces logisticsTraces);

	int update(LogisticsTraces logisticsTraces);

	int saveOrUpdate(LogisticsTraces logisticsTraces);

	ResultSet<LogisticsTraces> search(QueryInfo queryInfo, String q);

	List<LogisticsTraces> findByOrderCode(String orderCode, String logisticCode);

	int addBatch(List<LogisticsTraces> appendList);

}
